package com.wmh.baseservice.robot.convert;

import com.wmh.baseservice.robot.entity.RobotJobTask;
import com.wmh.baseservice.robot.pojo.vo.robotjobtask.RobotJobTaskAddReqVO;
import com.wmh.baseservice.robot.pojo.vo.robotjobtask.RobotJobTaskUpdateReqVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * @author 谢骏
 * @date 2023/8/31 17:44
 **/
@Mapper
public interface RobotJobTaskConvert {
    RobotJobTaskConvert INSTANCE = Mappers.getMapper(RobotJobTaskConvert.class);

    RobotJobTask convert(RobotJobTaskAddReqVO reqVO);

    RobotJobTask convert(RobotJobTaskUpdateReqVO reqVO);
}
